/**
 * <p>Copyright: Copyright (c) 2014</p>
 * <p>Company: ---Technology Co. Ltd</p>
 * <p>2014-4-29</p>
 * @author Jan.Zhang
 */
package com.xianl.busiplat.po;

import java.io.Serializable;
import java.util.List;


/** 
 * desc: Role Model mapping db table:t_role
 * <p>author: Jan.Zhang </p>
 * date: 2014-4-29
 */
public class Role implements Serializable {
	
	/**
	 * long:serialVersionUID 
	 */
	private static final long serialVersionUID = 2019989611575962583L;
	private Integer id;
	private Integer groupId = 1;//TODO
	private String name;
	private String description;
	private List<String> permissions;
	
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	
	/**
	 * @return the groupId
	 */
	public Integer getGroupId() {
		return groupId;
	}

	
	/**
	 * @param groupId the groupId to set
	 */
	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public List<String> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<String> permissions) {
		this.permissions = permissions;
	}

	
}
